﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" Inherits="System.Web.Mvc.ViewPage`1[[BlogEngine.Core.Post,BlogEngine.Core]]" %>
<asp:Content ContentPlaceHolderID="head" runat="server">

    <%--<script src="<%= Utils.RelativeWebRoot %>Content/MicrosoftAjax.js" type="text/javascript"></script>
    <script src="<%= Utils.RelativeWebRoot %>Content/MicrosoftMvcAjax.js" type="text/javascript"></script>--%>
    
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<% if (ViewData.Model != null)
   { %>
   
   <% Html.RenderPartial("_postView", ViewData.Model); %>
   <% Html.RenderPartial("_comment"); %>
<% }else{ %>
    <div class="entry">
	    <p>Sorry, no posts matched your criteria.</p>
    </div>
<% } %>
</asp:Content>
